package com.jy.adscm.wechat.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.wechat.bean.QueryWechatParts;
import com.jy.adscm.wechat.bean.WechatParts;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-09-29
 */
public interface WechatPartsService extends IService<WechatParts> {

    Page<WechatParts> selectWechatParts(Page<WechatParts> page, QueryWechatParts queryWechatParts) throws AdscmSystemException;

    WechatParts updateWechatPartsVaule(Long pid, Float nums)throws AdscmSystemException;
    WechatParts selectWechatPartsById(Long id);

    Boolean updateWechatParts(WechatParts wechatParts, String openid)throws AdscmSystemException;
}
